package cn.com.pg.b2b.pd.truck.appointment.management.service.exception;


import cn.com.pg.b2b.pd.truck.appointment.management.service.common.ReturnCode;

/**
 * @title: ExceptionCast
 * @projectName: touchless
 * @description:
 * @author: March Li
 * @date: 2023/2/9 12:15
 */
public class ExceptionCast {

    private ExceptionCast() {

    }

    public static void cast(ReturnCode errorCode) {
        throw new CommonException(errorCode);
    }
}
